<template>
        <div class="item"> 
                <img :src="arr1[0]" alt="" class="img1">
                <p >
                    <img :src="arr1[1]" alt="" class="img2">
                    <span>买表、修表、二手表交易</span>
                </p>
                <img :src="arr1[2]" alt="" class="img3">
        </div>
</template>

<script>
import {one} from "@/api/topapi.js"
export default {
    data(){
        return{
            arr1:[]
        }
    },
   mounted(){
        one().then((ok)=>{
        this.arr1=ok.data.toparr
    })
   }
}
</script>


<style scoped>
    .img1{
        width: 0.48rem;
        height: 0.24rem;
    }
 
    p{
        width: 2.9rem;
        height: 0.26rem;
        background-color: #F1F1F1;
        margin-top: -0.03rem;
        border-radius: 0.2rem;
    }
    .item{
        position: fixed;
        top: 0;
        height: 0.5rem;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding-top: -0.9rem;
        background-color: white;
        z-index: 555;
    }
    .img2{
        width: 0.12rem;
        height: 0.12rem;
        padding-left: 0.05rem;
        padding-top: 0.05rem;
    }
    .img3{
        width: 0.33rem;
        height: 0.33rem;
        border-radius: 50%;
    }
    span{
        padding-left: 0.1rem;
        font-size: 0.12rem;
        color: #999;
    }

</style>